#include <stdio.h>
int main()
{
	char a = "abcd";
	char b = "aaadc";
	if (a == b)
		printf("yes");
	else
		printf("no");
}